package com.relax.circularDependency;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BService {
    @Autowired
    private AService aService;

    public void methodB() {
        System.out.println("BService 执行 methodB。。。");
        aService.methodA();
    }
}
